import Mock from 'mockjs';

Mock.mock('/list',{
    "list|6":[{
        "id":"@id",
        "txt":"@ctitle(2)",
        "children|40":[{
            "id":"@id",
            "txt":"@ctitle(6)",
            "src":"@image(100x100,@color)",
            "con":"@cparagraph()",
            "price|100-1000":0,
            "flag":false,
            "type|1":['好吃推荐','时令上新','会员专区','鲜花绿植','热带水果'],
            "img|4-6":[{
                "src":"@image(100x100,@color)",
            }],
        }]
    }]
})